-- GENERATED SPELL FOR [Mur'ghoul Flesheater] --


function spell0_23644(pUnit, Event) --@Rend,n/a--
pUnit:FullCastSpellOnTarget(13445,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_23644', 15000, 1)
end

function Sorts_23644(pUnit, Event)
local choix_sorts_23644 = math.random(0, 0)
if choix_sorts_23644 == 0 then
pUnit:RegisterEvent('spell0_23644', 1, 1)
end
end

function mob23644_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_23644', math.random(1500, 3000), 1)
end

function mob23644_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23644_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23644_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(23644, 1, 'mob23644_Action')
RegisterUnitEvent(23644, 2, 'mob23644_Leave')
RegisterUnitEvent(23644, 3, 'mob23644_Kill')
RegisterUnitEvent(23644, 4, 'mob23644_Die')
